smallest letter in array java